package com.java.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.common.utils.PageUtils;
import com.java.pojo.UserAddress;
import com.java.pojo.bo.AddressBO;

import java.util.Map;

/**
 * 用户地址表 
 *
 * @author jl
 * @since 2020-10-13 11:31:41
 */
public interface UserAddressService extends IService<UserAddress> {

    PageUtils queryPage(Map<String, Object> params);

    void addNewUserAddress(AddressBO addressBO);

    void updateUserAddress(AddressBO addressBO);

    void updateUserAddressToBeDefault(String userId,String addressId);
}

